package com.chuanyekeji.aokai.Mapper;

import com.chuanyekeji.aokai.Entity.CustomerMessage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CustomerMessageMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CustomerMessage record);

    int insertSelective(CustomerMessage record);

    int getCustomerMessageCount();

    List<CustomerMessage> getCustomerMessageList(@Param("indexRow") int indexRow, @Param("lastRow")int lastRow);

    CustomerMessage selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CustomerMessage record);

    int updateByPrimaryKey(CustomerMessage record);
}